<?php

namespace App\Controller\Auth\Member;

use App\Controller\AbstractController;

class LoginController extends AbstractController
{

    public function login()
    {
        return $this->success([
            'name' => 'Tom',
            'avatar' => 'avatar',
            'token' => 'test token',
        ]);
    }

    public function logout()
    {
        return $this->success([],'退出成功');
    }
}